package com.example.mytestdemo.linearlayoutmanager

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import androidx.lifecycle.lifecycleScope
import com.example.mytestdemo.BaseViewBindActivity
import com.example.mytestdemo.R
import com.example.mytestdemo.databinding.ActivityLinearinglayoutManagerLayoutBinding
import com.example.mytestdemo.databinding.ActivityMainBinding
import com.example.mytestdemo.databinding.ActivitySoftkeyLayoutBinding
import com.example.mytestdemo.linearlayoutmanager.dragon.CustomRecycleDragonActivity
import com.example.mytestdemo.softkey.SoftKeyActivity
import com.example.mytestdemo.viewpage2.ViewPager2ListAdapterActivity
import kotlinx.coroutines.*
import java.util.*
import kotlin.coroutines.AbstractCoroutineContextElement
import kotlin.coroutines.CoroutineContext


class CustomLinearLayoutMangerActivity : BaseViewBindActivity<ActivityLinearinglayoutManagerLayoutBinding>() {


    override fun getLayoutInflateId(): Int {
        return R.layout.activity_linearinglayout_manager_layout
    }

    override fun initData() {


    }

    override fun initUI() {
        mBind.btRotation.setOnClickListener{
            startActivity(Intent(this,CustomRotationActivity::class.java))
        }

        mBind.btRecycle.setOnClickListener{
            startActivity(Intent(this,CustomRecycleViewActivity::class.java))
        }

        mBind.btDragon.setOnClickListener{
            startActivity(Intent(this, CustomRecycleDragonActivity::class.java))
        }

        mBind.btScale.setOnClickListener{
            startActivity(Intent(this, LinearLayoutScaleActivity::class.java))
        }

    }
}